/* 
 * File:   Cosh.h
 * Author: Gab'z
 *
 * Created on 4 juin 2012, 09:41
 */

#ifndef COSH_H
#define	COSH_H

#include "AngularUnaryOperator.h"

namespace calculator {

    class Cosh : public AngularUnaryOperator {
        friend class CommandMap;

    public:
        virtual ~Cosh();
        
        Cosh* clone() const;

        const Number* apply(const SimpleNumber* n) const throw (ArithmeticException);

    private:
        Cosh(const std::string name);
        Cosh(const Cosh& orig);
    };
}

#endif	/* COSH_H */

